include_directories(${OpenCV_INCLUDE_DIRS})
include_directories(${EXTRA_INCLUDES})

include_directories(${PCL_INCLUDE_DIRS})
link_directories(${PCL_LIBRARY_DIRS})
add_definitions(${PCL_DEFINITIONS})

add_executable(projection projection.cpp)

target_include_directories(PNP PUBLIC ${CMAKE_SOURCE_DIR}/include ${EXTRA_INCLUDES})
target_include_directories(PNP PUBLIC ${OpenCV_INCLUDE_DIRS})

target_link_libraries(projection PUBLIC yaml-cpp)
target_link_libraries(projection PUBLIC spdlog::spdlog_header_only)
target_link_libraries(projection PUBLIC ${OpenCV_LIBS})
target_link_libraries(projection PUBLIC ${PCL_LIBRARIES})
target_link_libraries(projection PUBLIC ${${PCL_COMMON_LIBRARIES}})
target_link_libraries(projection PUBLIC ${${PCL_IO_LIBRARIES}})
target_link_libraries(projection PUBLIC ${EXTRA_LIBS})
target_link_directories(projection PUBLIC ${EXTRA_LIBS})
